package com.sayice.design.lab3_1;

/**
 * @author shubing
 */
public class Car {
    private String body;
    private String engine;
    private String tyre;
    private String gearbox;
    
    public String getBody() {
        return body;
    }
    
    public void setBody(String body) {
        this.body = body;
    }
    
    public String getEngine() {
        return engine;
    }
    
    public void setEngine(String engine) {
        this.engine = engine;
    }
    
    public String getTyre() {
        return tyre;
    }
    
    public void setTyre(String tyre) {
        this.tyre = tyre;
    }
    
    public String getGearbox() {
        return gearbox;
    }
    
    public void setGearbox(String gearbox) {
        this.gearbox = gearbox;
    }
    
    @Override
    public String toString() {
        return "Car{" +
                "body='" + body + '\'' +
                ", engine='" + engine + '\'' +
                ", tyre='" + tyre + '\'' +
                ", gearbox='" + gearbox + '\'' +
                '}';
    }
}
